@import '../../sass/conf/conf';
@import '../../components/baMsgCenter/baMsgCenter';

:host /deep/ {

  .wel-top {
    //background-color: $sidebar;
    background-color: #8847dc;
    position: fixed;
    z-index: 904;
    box-shadow: 2px 0 3px rgba(0, 0, 0, 0.5);
    height: 66px;
    width: 100%;
    min-width: $resMin;
    padding: 0 20px;

    .dropdown-toggle::after {
      display: none;
    }
  }

  .blur {
    .page-top.scrolled {
      background-color: rgba(black, 0.85)
    }
  }

  a.al-logo {
    color: $sidebar-text;
    display: block;
    font-size: 28px;
    font-family: $font-family;
    white-space: nowrap;
    float: left;
    outline: none !important;
    margin: 0 45px;
    line-height: 66px;
  }
  .system-name {
    line-height: 66px;
    color: #ffffff;
    .project-name{
      font-size: 20px;
    }
  }

  a.resource {
    color: $sidebar-text;
    display: block;
    font-size: 24px;
    font-family: $font-family;
    white-space: nowrap;
    float: left;
    outline: none !important;
    line-height: 60px;
  }
  a.al-logo:hover {
    //color: $primary;
    color: #cccccc;
  }

  .juzuo {
    float: left;
  }

  .level_2_menu{
    height: 100%;
    display: flex;
  }

  a.refresh-data {
    color: $sidebar-text;
    font-size: 13px;
    text-decoration: none;
    font-weight: $font-normal;
    float: right;
    margin-top: 13px;
    margin-right: 26px;

    &:hover {
      color: $warning !important;
    }
  }

  a.collapse-menu-link {
    font-size: 31px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    line-height: 42px;
    color: $sidebar-text;
    padding: 0;
    float: left;
    margin: 11px 0 0 25px;

    &:hover {
      text-decoration: none;
      color: $warning;
    }
  }

  .nav-item {
    //width: 0px;
    border: 1px solid transparent;
    text-align: center;
    margin-left: 30px;
    .nav-link {
      color: #cccccc;
      font-size: 16px;
    }
    .nav-link:hover {
      color: white;
    }
  }

  .navbar-light .navbar-nav .open > .nav-link, .navbar-light .navbar-nav .active {
    color: #ffffff;
    font-size: 16px;
    //background: rgba(255, 255, 255, 0.3);
    //width: 80px;
    text-align: center;
    border: 1px solid #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }

  .user-avatar {
    float: right;
    margin: 13px 24px;
    border-radius: 50%;
    overflow: hidden;
    font-size: 20px;
    color: #8847dc;
    background: #fff;
  }

  @media screen and (max-width: $resS) {
    .search {
      display: none;
    }
  }

  @media screen and (max-width: $resXS) {
    .page-top {
      padding: 0 20px;
    }
  }

  @media (max-width: $resXXS) {
  }
}
